package com.fivestar.pmanager.model;

import com.fivestar.pmanager.core.base.BaseBean;

/**
 * 角色 SM_ROLE
 * 
 * @author
 */
public class SysRoleBean extends BaseBean {
	// fields
	private String code;
	private String name;
	private String type;
	private String attr;

	// getter,setter
	/**
	 * @return String
	 */
	public String getCode() {
		return this.code;
	}

	/**
	 * @return String
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * @return String
	 */
	public String getType() {
		return this.type;
	}

	/**
	 * @return String
	 */
	public String getAttr() {
		return this.attr;
	}

	/**
	 * @param code
	 */
	public void setCode(String code) {
		this.code = code == null ? null : code.trim();
	}

	/**
	 * @param name
	 */
	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	/**
	 * @param type
	 */
	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	/**
	 * @param attr
	 */
	public void setAttr(String attr) {
		this.attr = attr == null ? null : attr.trim();
	}

}